package com.zx.config.exception.category;

import com.zx.config.exception.MallError;

/**
 * @author sunkai
 * @date 2022/8/26 0026 17:22
 * @mood zhou xun
 */
public enum CategoryError implements MallError {

        CATEGORY_ERROR("2021","类型异常")
    ;

    String errorCode;
    String errorMessage;

    CategoryError(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    @Override
    public String getErrorCode() {
        return null;
    }

    @Override
    public String getErrorMessage() {
        return null;
    }
}
